
export default {
	getBarHeight(){
		let systemInfo = {
			StatusBar:null,
			Custom: null,
			CustomBar: null
		}
		uni.getSystemInfo({
			success: function(e) {
				systemInfo.StatusBar = e.statusBarHeight;
				let custom = wx.getMenuButtonBoundingClientRect();
				systemInfo.Custom = custom;
				systemInfo.CustomBar = custom.bottom + custom.top ;
			}
		})
		return systemInfo
	}
}